

import { createApp } from 'vue'
import App from './App.vue'
import router  from './router'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import { createPinia } from 'pinia'

import Particles from 'particles.vue3'
const pinia = createPinia()
const app = createApp(App)
app.use(ElementPlus)
app.use(router).mount('#app');
app.use(pinia)
app.use(Particles)
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}